//
//  Handler.swift
//  ECApp
//
//  Created by 程平 on 2017/10/21.
//

import Foundation
import PerfectHTTP

public class Handler {
    
   
   // Handler根目录的响应
    static func base(request:HTTPRequest, response:HTTPResponse){
            response.setBody(string: "welcome to ECApp api service")
            response.completed()
    }
    
   
}
